package com.zhongdone.pattern.structural.adapter.logindemo1;

public class PassportService {

    /**
     * 注册方法
     * @param userName
     * @param password
     * @return
     */
    public ResultMsg regist(String userName, String password){
        return new ResultMsg(200,"注册成功", new Member());
    }

    /**
     * 登录方法
     * @param userName
     * @param password
     * @return
     */
    public ResultMsg login(String userName, String password){
        return null;
    }

}

